package cn.gene.timeyan.pojo.article.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 缃?《琛
 * </p>
 *
 * @author LWG
 * @since 2022-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("arms_top")
public class Top implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "top_article_id", type = IdType.AUTO)
    private Long topArticleId;

    /**
     * 璐翠富id
     */
    private Long userId;

    /**
     * 鏍囬?
     */
    private String articleTitle;

    /**
     * 鍐呭?
     */
    private String articleContent;

    /**
     * 妯″潡id
     */
    private Long moduleId;

    /**
     * 鐘舵?(0鏄剧ず,1灏佺?)
     */
    private String articleState;

    /**
     * 鐐硅禐鏁
     */
    private Integer articleLike;

    /**
     * 鏀惰棌鏁
     */
    private Integer articleCollection;

    /**
     * 娴忚?鏁
     */
    private Integer articleVisit;

    /**
     * 璇勮?鏁
     */
    private Integer articleComment;

    /**
     * 杞?彂鏁
     */
    private Integer articleRetweeted;

    /**
     * 缃?《寮??鏃堕棿
     */
    private Date startTime;

    /**
     * 缃?《缁撴潫鏃堕棿
     */
    private Date endTime;

    /**
     * 鍒涘缓鏃堕棿
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 淇?敼鏃堕棿
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
